package string;

public class ReplaceDemo {
    public static void main(String[] args) {
        String line = "abc123def456jhi";
        line = line.replaceAll("[a-z]+","replacement");

        System.out.println(line);

    }
}
